package com.bqjr.cloud.zuul.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bqjr.cloud.zuul.dao.UserInfoDao;
import com.bqjr.cloud.zuul.model.UserInfo;
import com.bqjr.cloud.zuul.service.UserInfoService;

@Service
public class UserInfoServiceImpl implements UserInfoService {
	
	@Autowired
	private UserInfoDao userInfoDao;

	@Override
	public UserInfo getById(String id) {
		return userInfoDao.get("id", id);
	}

}
